package cn.cheegon.blog.entity.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @Desc:
 * @Author: cheegon
 * @Date: Create in 2024/7/4  上午10:36
 */
@Data
public class CommentAddReq {

    @Schema(description = "博客id")
    private Long blogId;

    @Schema(description = "顶级评论的id,0->无")
    private Long rootCommentId;

    @Schema(description = "子评论回复的哪个评论的id,0->无")
    private Long toCommentId;

    @Schema(description = "评论内容")
    private String content;
}
